package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.SqlType;
import org.zoomdev.zoom.dao.ddl._DDL_Column;
import org.zoomdev.zoom.dao.ddl._DDL_Primary;
import org.zoomdev.zoom.dao.ddl._DDL_Table;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_Table(name = "b_version", simpleName = "", engine = MysqlDriver.InnoDB, comment = "设备版本")
public class _DDL_BVersion {

    @_DDL_Primary()
    @_DDL_Column(name = "code", type = SqlType.INT_UNSIGNED, nullable = false, comment = "版本号码")
    private Long code;

    @_DDL_Column(name = "url", type = SqlType.VARCHAR, size = 300, comment = "url")
    private String url;

    @_DDL_Column(name = "md5", type = SqlType.VARCHAR, size = 32, comment = "文件md5")
    private String md5;

    @_DDL_Column(name = "cr_time", type = SqlType.TIMESTAMP, defaultFunction = MysqlDriver.CURRENT_TIMESTAMP, comment = "创建时间")
    private java.sql.Timestamp crTime;

}
